package com.arpa.ntocc.common.common.exception;

/**
 * @program: miaocloudweb
 * @Date: 2018/11/7 19:45
 * @Author: LEO
 * @Description:
 */
public class AuthorizeTokenException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private String message;

    AuthorizeTokenException() {
        super();
    }

    public AuthorizeTokenException(String message, Throwable cause) {
        super(message, cause);
        this.message=message;
    }

    public AuthorizeTokenException(String message) {
        super(message);
        this.message=message;
    }

    AuthorizeTokenException(Throwable cause) {
        super(cause);
    }

    @Override
    public String getMessage() {
        return "登录验证失败： " + this.message ;
    }
}
